package com.zj.docker.enums;

/**
 * @Auther: zj
 * @Date: 2018/11/22 17:02
 * @Description:
 */
public enum  RoleEnum {
    User(1,"ROLE_USER"),
    Admin(2,"ROLE_ADMIN"),;

    private Integer code;
    private String message;

    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
